package test1230am;

public class Test03 {
    public static void main(String[] args) {
        // (3)for循环打印2,4,6,8,10
        // (3)for循环打印9,7,5,3,1
        for (int i = 1; i <= 10; i++) {
            if (i % 2 == 0) {
                System.out.println(i);
            }
        }
        for (int j =10; j >= 1; j--) {
            if (j % 2 == 1) {
                System.out.println(j);
            }
        }
    }
}
